package com.bdsy.business.service;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.bdsy.business.model.Order;

public interface OrderService {

	public boolean add(Order order);
	
	public boolean updateOrderStatus(Order order,int status);
	
	public List<Map> selectOrderById(String userId);
	
	public List<Map> selectOrderByIdStatus(String userId,int status);
	
	public List<Map> orderListById(String userId,int orderStatus,int status);
	
	public List<String> selectOrderId(String userId,int status);
	
	public List<Map> selectOrderByOrderId(String orderId,int status);
	
	public List<Map> orderListByIdStatus(String userId,int status);
	
	public boolean deleteOrderById(List<String> pIds);
	
	public int acount(String userId);
	
	public int ncount(String userId);
	
	public List<Map> saleStatis(String userId);
	
	public List<Map> selectNOrderById(String userId);
	
	public List<Map> areadyOrderList(String userId,int shopTypeId,int lx,int qx);
	
	public List<Map> nareadyOrderList(String userId,int shopTypeId,int orderStatus,int status,int qx);

	
	public List<Map> orderListByUserIdStatus(String userId,int shopTypeId,int orderStatus,int status);

}
